Skip to content

Conversation

@MaxNumerique
Copy link
Contributor

No description provided.

test cases in test_routes.py expect a validation error format thats need to be match fastjsonschema provides

{key} is a required property for missing required fields
Additionnal properties are not allowed for extra properties

Modifications :
- Catch fastjsonjsonschema exceptions and extract the field name
- transform the error message to match the format expected by tests
- uses string manipulations to handle both mising required fields and additionnal properties cases

pytest : 40/40 passed
@MaxNumerique MaxNumerique merged commit 48ee99a into next Jul 18, 2025
6 checks passed
@MaxNumerique MaxNumerique deleted the fix/fast_json_schema branch July 21, 2025 08:40
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

4 participants